li {list-style: none;}
a {text-decoration: none;color: #333333;}
.px2rem(@name, @px){
    @{name}: @px / 108 * 1rem;
}

.webkit{
    display: -webkit-flex;
    display: -moz-flex;
}
.line-height(@arg){.px2rem(line-height, @arg);}
.font-size(@arg){.px2rem(font-size, @arg);}

.font(@fz,@color){
    .px2rem(font-size,@fz);
    color: @color;
}
.border-bottom(@px,@xian,@color){
    .px2rem(border-bottom-width,@px);
    border-bottom-style: @xian;
    border-bottom-color: @color;
}
.border-top(@px,@xian,@color){
    .px2rem(border-top-width,@px);
    border-top-style: @xian;
    border-top-color: @color;
}
.border(@px,@xian,@color){.px2rem(border-width,@px);border-style: @xian; border-color: @color;}

.padding-top(@top){.px2rem(padding-top, @top);}
.padding-right(@right){.px2rem(padding-right, @right);}
.padding-bottom(@bottom){.px2rem(padding-bottom, @bottom);}
.padding-left(@left){.px2rem(padding-left, @left);}

.padding(@top,@right,@bottom,@left){
   .px2rem(padding-top,@top);
   .px2rem(padding-right,@right);
   .px2rem(padding-bottom,@bottom);
   .px2rem(padding-left,@left);
}

.margin-top(@top){.px2rem(margin-top, @top);}
.margin-right(@right){.px2rem(margin-right, @right);}
.margin-bottom(@bottom){.px2rem(margin-bottom, @bottom);}
.margin-left(@left){.px2rem(margin-left, @left);}

.margin(@top,@right,@bottom,@left){
   .px2rem(margin-top,@top);
   .px2rem(margin-right,@right);
   .px2rem(margin-bottom,@bottom);
   .px2rem(margin-left,@left);
}
body,html{
  background:white;
}

  .header{
    .webkit();
    justify-content: space-between;
    .px2rem(height,120);
    background: #494961;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    
    .span{
        .webkit();
        .px2rem(width,120);
        .px2rem(height,120);
        justify-content: center;
        align-items: center;
        img{
            .px2rem(width,27);
        }
    }
    .span:nth-child(2){
        flex: 1;
        .px2rem(width,120);
        .px2rem(height,120);
        .px2rem(font-size,60);
        color: white;
    }
    .span:nth-child(3){
         .px2rem(padding-right,43);
        button{
            .px2rem(width,150);
            .px2rem(height,75);
            .px2rem(border-radius,15);
            color:#cecece;
            background:none;
            .px2rem(font-size,40);
        }
    }
}
      


    .main{


    .section{
      .padding-top(120);
      .qipao_one{
        width:100%;
        .padding-top(60);
        .padding-left(50);
        .webkit();
        .left{
          img{
            .px2rem(height,140);
            .px2rem(width,140);
            .margin-right(30);

          }
        }
        .right{
          width:68%;
          //no-repeat
          //给个透明的边框线
         
          border:20px solid transparent;
          //背景图片
          border-image-source: url("../img/qipaomin.png");
          //border-width: 30;
          //border-image-repeat: stretch;
          //切割图片
          border-image-slice: 40 fill;
         
          .biaoti{
            .padding(36,0,26,44);
            .font-size(32);
          }
         
          dl{
            .webkit();
            dt{
              .xiaoxi{
                .px2rem(width,203);
                .px2rem(height,200);
                .padding(0,0,0,44);
              }
           }

           dd{
              .padding(36,30,0,44);
              ._p{
                .font-size(45);
                font-weight: bold;
                .padding-bottom(31);
              }

              p:nth-child(2){
                color:red;
              }
           }
        }
      }
        
        }




        .qipao_two{
        .padding-top(120);
        .padding-left(50);
        .webkit();
         justify-content:flex-end;
        .right{
          img{
            .px2rem(height,140);
            .px2rem(width,140);
            .margin-right(50);
          }
        }
        .left{
          .margin-right(20);
          width:30%;
          text-align: center;
          //no-repeat
          //给个透明的边框线
         
          border:20px solid transparent;
          //背景图片
          border-image-source: url("../img/qipaomax.png");
          //border-width: 30;
          //border-image-repeat: stretch;
          //切割图片
          border-image-slice: 40 fill;
         
        
      }

      p{
        .font-size(45);
        color:#ffffff;
      }

        
        }
    }

}



    footer{
       
        position: absolute;
        left: 0;
        bottom: 0;
        width:100%;
        background:#f5f5f5;

        ul{
          .webkit();
          justify-content:space-between;
          align-items:center;
          .line-height(235);
         

          li:nth-child(1){
            .padding-left(65);
            .line-height(50);
            ._img{
              .px2rem(width,58);
              .px2rem(height,70);
              .padding-right(30);
            }

          }


           li:nth-child(2){
            
              input{
                  .px2rem(width,716);
                  .px2rem(height,120);
                  .px2rem(border-radius,20);
                  .margin-right(30);
              }

           }

          li:nth-child(3){
            .line-height(50);
            .padding-right(16);
             span{
              img{
                .px2rem(height,69);
                .px2rem(width,69);
              }
            }
          }
    
         
        }
    }